package com.hvtt.web.models;

public class C_dangtin_comment{
	private long iD = 0;
	private long iDParent = 0;
	private long iDPhu = 0;
	private String userComment = "";
	private String commentText = "";
	private java.sql.Date commentDate = new java.sql.Date(0);
	private int loaiNguoiDung = 0;
	public C_dangtin_comment() {}
	public C_dangtin_comment (long iD,long iDParent,long iDPhu,String userComment,String commentText,java.sql.Date commentDate,int loaiNguoiDung){
		this.iD = iD;
		this.iDParent = iDParent;
		this.iDPhu = iDPhu;
		this.userComment = userComment;
		this.commentText = commentText;
		this.commentDate = commentDate;
		this.loaiNguoiDung = loaiNguoiDung;
	}
	public long getID(){return iD;}
	public void setID(long iD){ this.iD = iD;}
	public long getIDParent(){return iDParent;}
	public void setIDParent(long iDParent){ this.iDParent = iDParent;}
	public long getIDPhu(){return iDPhu;}
	public void setIDPhu(long iDPhu){ this.iDPhu = iDPhu;}
	public String getUserComment(){return userComment;}
	public void setUserComment(String userComment){ this.userComment = userComment;}
	public String getCommentText(){return commentText;}
	public void setCommentText(String commentText){ this.commentText = commentText;}
	public java.sql.Date getCommentDate(){return commentDate;}
	public void setCommentDate(java.sql.Date commentDate){ this.commentDate = commentDate;}
	public int getLoaiNguoiDung(){return loaiNguoiDung;}
	public void setLoaiNguoiDung(int loaiNguoiDung){ this.loaiNguoiDung = loaiNguoiDung;}
	public void resetAttribute() {
		iD = 0;
		iDParent = 0;
		iDPhu = 0;
		userComment = "";
		commentText = "";
		commentDate = new java.sql.Date(0);
		loaiNguoiDung = 0;
	}
}